#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>

int main() {
   time_t t;

   t = time(NULL);
   printf(ctime(&t));
   printf(asctime(gmtime(&t)));
   printf(asctime(localtime(&t)));
   exit (0);
}
